[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api_0x0f.nas"]
	GLOBAL _api_getKeyboardData
	
[SECTION .text]

;获取键盘数据
_api_getKeyboardData: ;int api_getKeyboardData(int mode);
	mov edx,0xf
	mov eax,[esp+4] ;mode
	int 0x40
	ret